package first.group.ssh.packet;

import first.group.ssh.SSHConsts;
import java.io.IOException;
import java.nio.ByteBuffer;

public class UserAuthSuccessPacket extends Packet {

    public UserAuthSuccessPacket() {
        super(SSHConsts.SSH_MSG_USERAUTH_SUCCESS);
    }

    public static PacketParser<UserAuthSuccessPacket> PARSER = new Parser();

    private static class Parser extends PacketParser<UserAuthSuccessPacket> {

        @Override
        public UserAuthSuccessPacket parse(ByteBuffer buffer) throws IOException {
            return new UserAuthSuccessPacket();
        }
    }

    @Override
    public void write(ByteBuffer buffer) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
